import { request } from 'umi';

export let PutPass = (oldPassword : string , newPassword : string ) =>{
    return request(`/system/user/profile/updatePwd?oldPassword=${oldPassword}&newPassword=${newPassword}` , {
        method : 'PUT',
        oldPassword,
        newPassword
    });
}